﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using HGZP.PLL;

namespace HGZP.PLL
{
   public class MyTip
    {
       public static DialogResult InformationTip(string message)
        {
            return MessageBox.Show(message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static DialogResult ErrorTip(string message)
        {
            return MessageBox.Show(message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        public static DialogResult WarnTip(string message)
        {
            return MessageBox.Show(message, "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
        }

        public static DialogResult AskTip(string message)
        {
            return MessageBox.Show(message, "请确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
        }
       //
       
       //
    }
}
